package com.example.dw.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 证书实体类
 * @author system
 * @since 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("certificate")
public class Certificate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 证书ID
     */
    @TableId(value = "certificateid", type = IdType.AUTO)
    private Integer certificateid;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    /**
     * 证书图片
     */
    @TableField("avatar")
    private String avatar;

    /**
     * 身份证号
     */
    @TableField("certificateid_sfz")
    private String certificateidSfz;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 证书编号
     */
    @TableField("certificateid_bh")
    private String certificateidBh;

    /**
     * 创建时间
     */
    @TableField("createdAt")
    private LocalDateTime createdAt;
} 